package com.car.utils;

import java.util.Random;
import java.util.UUID;

public class NumberUtil {
    public static String generAteWorkid(){
        StringBuilder sb = new StringBuilder();
        Random random = new Random();
        for (int i = 0; i < 6; i++) {
            sb.append(random.nextInt(10));
        }
        return sb.toString();
    }

    public static String generateCardNum(){
        UUID uuid = UUID.randomUUID();
        return uuid.toString().substring(0,16);
    }
}
